home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 11 / Cream of the Crop 11-1.iso / program / lgavb25.zip / VC.ZIP / VCVIEW.H < prev   
C/C++ Source or Header  |  1996-01-20  |  1KB  |  57 lines

  1. // vcview.h : interface of the CVcView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. class CVcView : public CFormView
  6. {
  7. protected: // create from serialization only
  8.     CVcView();
  9.     DECLARE_DYNCREATE(CVcView)
  10.  
  11. public:
  12.     //{{AFX_DATA(CVcView)
  13.     enum { IDD = IDD_VC_FORM };
  14.     CVBControl*    m_lgauge3;
  15.     CVBControl*    m_lgauge1;
  16.     CVBControl*    m_lgauge2;
  17.     CButton    m_reset;
  18.     //}}AFX_DATA
  19.  
  20. // Attributes
  21. public:
  22.     CVcDoc* GetDocument();
  23.  
  24. // Operations
  25. public:
  26.  
  27. // Implementation
  28. public:
  29.     virtual ~CVcView();
  30. #ifdef _DEBUG
  31.     virtual void AssertValid() const;
  32.     virtual void Dump(CDumpContext& dc) const;
  33. #endif
  34.  
  35. protected:
  36.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  37.  
  38. // Generated message map functions
  39. protected:
  40.     //{{AFX_MSG(CVcView)
  41.     afx_msg void OnButton1();
  42.     afx_msg void OnDestroy();
  43.     afx_msg void OnTimer(UINT nIDEvent);
  44.     afx_msg void OnChangeLgauge1(UINT, int, CWnd*, LPVOID);
  45.     afx_msg void OnChangeLgauge2(UINT, int, CWnd*, LPVOID);
  46.     afx_msg void OnChangeLgauge3(UINT, int, CWnd*, LPVOID);
  47.     //}}AFX_MSG
  48.     DECLARE_MESSAGE_MAP()
  49. };
  50.  
  51. #ifndef _DEBUG  // debug version in vcview.cpp
  52. inline CVcDoc* CVcView::GetDocument()
  53.    { return (CVcDoc*)m_pDocument; }
  54. #endif
  55.  
  56. /////////////////////////////////////////////////////////////////////////////
  57.